<!doctype html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport"
          content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>2024092301</title>
    <style>
        .ct{text-align: center}
        .one{
            width: 200px;
            height: 200px;
            background: #666;
            float: left;
        }
        .two{
            text-align: center;
            width: 200px;
            height: 200px;
            background: #999;
            float: left;

        }
    </style>
</head>
<body>
<div class="ct">
    <div class="one">盒1</div>
    <div class="two">盒2</div>
</div>
</body>
</html>